//
//  UIFont+SKFont.m
//  skhr
//
//  Created by sujeking on 2018/8/2.
//  Copyright © 2018年 sujeking. All rights reserved.
//

#import "UIFont+SKFont.h"

@implementation UIFont (SKFont)

+ (UIFont *)skSystemFontOfSize:(CGFloat)fontSize {
    CGFloat v = [UIScreen mainScreen].bounds.size.width / 375.0f;
    CGFloat fz = fontSize * v;
    return [UIFont systemFontOfSize:fz];
}


+ (UIFont *)skSystemFontOfSize:(CGFloat)fontSize weight:(UIFontWeight)weight {
    CGFloat v = [UIScreen mainScreen].bounds.size.width / 375.0f;
    CGFloat fz = fontSize * v;
    return [UIFont systemFontOfSize:fz weight:weight];
}


@end
